// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'


// ElementUI必须放在导入VUE的下方 因为他是基于VUE的
import ElementUI from 'element-ui' // 引入ElementUI的核心js
import 'element-ui/lib/theme-chalk/index.css' // 引入ElementUI的核心样式
Vue.use(ElementUI) // 告诉Vue我们要使用ElementUI
Vue.config.productionTip = false

// import  user from './js/user/user.js'

// 全局引入axios
import axios from 'axios'

// 配置axios的全局路径
axios.defaults.baseURL='https://www.fastmock.site/mock/bf1057f5c225154671aafcd79e236e5b/eldenring';

Vue.prototype.$http = axios;
员工
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
